package com.itheima.service;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckItem;
import com.itheima.pojo.FoodSetting;
import java.util.List;

/**
 * @author ZhaoShengChao
 * @create 2021/8/7 21:44
 */
public interface FoodSettingService {
    /**
     * 文件上传多个数据同时添加
     * @param foodSettings
     */
    void add(List<FoodSetting> foodSettings);

    /**
     * 添加单个数据
     * @param foodSetting
     */
    void add(FoodSetting foodSetting);
    /**
     * 分页查询
     * @param queryPageBean
     * @return
     */
    public PageResult pageQuery(QueryPageBean queryPageBean);

    /**
     * 删除数据
     * @param id
     */
    void deleteById(Integer id);

    /**
     * 编辑数据
     * @param foodSetting
     */
    void edit(FoodSetting foodSetting);


}
